<template>
	<view class="zzdb">
		<view class="zzdb-list">
			<view class="zzdb-item" v-for="(item,index) in zzdbList" :key="index" @click="lookView">
				<image src="/static/ren.png" mode="" class="renxiang"></image>
				<image src="/static/name_icon.png" class="icon" mode=""></image>
				<view class="con-box">
					<view class="title">
						全国人大代表
					</view>
					<view class="name">
						姓名：张子昂
					</view>
					<view class="dept">
						单位及职务：市司法局局长
					</view>
					<view class="count">
						本年已进社区：32次
					</view>
				</view>
				<view class="btn">
					查看详情>>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {},
		data() {
			return {
				zzdbList: [1, 2, 3, 4]

			}
		},
		methods:{
			lookView(){
				uni.navigateTo({
				    url: '/pages/lianluozhan/zzdb-detail'
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	.zzdb {
		padding-top: 50rpx;

		.zzdb-item {
			width: 100%;
			height: 208rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 0rpx 32rpx 0rpx rgba(0, 0, 0, 0.11);
			border-radius: 0rpx 0rpx 0rpx 0rpx;
			border: 2rpx solid #EDEDED;
			display: flex;
			position: relative;
			padding-left: 204rpx;
			margin-bottom: 50rpx;

			.renxiang {
				width: 172rpx;
				height: 208rpx;
				position: absolute;
				left: 26rpx;
				top: -26rpx;
			}

			.icon {
				width: 50rpx;
				height: 48rpx;
				margin-top: 26rpx;
			}

			.con-box {
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				font-size: 28rpx;
				color: #000000;
				line-height: 33rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				padding: 26rpx 0;
				.title{
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 28rpx;
					color: #000000;
					line-height: 33rpx;
				}
			}

			.btn {
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #2A8BFD;
				line-height: 28rpx;
				position: absolute;
				top: 26rpx;
				right: 5rpx;
			}

		}
	}
</style>